<template>
  <div style="height: 100%;width: 100%">
    <!-- 学生-->
    <template v-if="$store.getters.permissions==='1'">
      <student-course-manage></student-course-manage>
    </template>
    <!-- 管理员-->
    <template v-else-if="$store.getters.permissions==='0'">
      <admin-course-manage></admin-course-manage>
    </template>
    <!-- 教师-->
    <template v-else>
      <teacher-course-manage></teacher-course-manage>
    </template>

  </div>
</template>

<script>
  import { getTable } from '@/api/excel'
  import StudentCourseManage from "./StudentCourseManage";
  import AdminCourseManage from "./AdminCourseManage";
  import TeacherCourseManage from './TeacherCourseManage'
  export default {
    components:{AdminCourseManage, StudentCourseManage,TeacherCourseManage},
    created() {
    }
  }
</script>

<style scoped lang="stylus">

</style>
